package com.ww.springboot.dd.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：
 *
 * @author 🧑 ‍wanwei
 * @since 2023-01-03 09:59
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class TenantDbDTO implements Serializable {


    private int code;
    private boolean success;
    private String msg;
    private AttachedMapBean attachedMap;
    private List<DataBean> data;

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class AttachedMapBean implements Serializable {
        private String traceId;
    }

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class DataBean implements Serializable {
        private String tenantId;
        private String id;
        private String appCode;
        private String dbUrl;
        private String username;
        private String password;
        private String dbStatus;
    }
}
